﻿using System.IO;

namespace FileSystemCustomClasses
{
	public class DirectoryItem : FileSystemItem
	{
		public DirectoryItem(FileSystemInfo argCurrentEntry):base(argCurrentEntry)
		{
			Path = argCurrentEntry.FullName;
			Name = argCurrentEntry.Name;
			CreateDate = argCurrentEntry.CreationTime;
			ModifyDate = argCurrentEntry.LastWriteTime;
		}
	}
}